{% extends "base.html" %}
{% load staticfiles %}

{% block title %}
图灵课程 - 考试结果
{% endblock %}

{% block style %}

{% endblock %}

{% block content %}

<div class="container ExamQuestion"  align="center" >
<h3 class="transition_appointment">考试结果</h3>
<br>

<h4 style="color:#313c2c;">最终得分：{{score}}</h4>
<br>

{% for question in questions %}
{% if question.type1 %}
<div class="examdetail">
<span>{{question.QuestionTitle}}</span>
<ul>
  <li>A. {{question.OptionA}}</li>
  <li>B. {{question.OptionB}}</li>
  <li>C. {{question.OptionC}}</li>
  <li>D. {{question.OptionD}}</li>
</ul>
<br>
我的答案：{{question.my}}
<br>
正确答案：{{question.True}}
<br>
解析：{{question.Analysis}}
<br>
</div>
{% endif %}

{% if question.type2 %}
<div class="examdetail">
<span>{{question.QuestionTitle}}</span>
<ul>
  <li>True</li>
  <li>False</li>
</ul>
<br>
我的答案：{{question.my}}
<br>
正确答案：{{question.True}}
<br>
解析：{{question.Analysis}}
<br>
</div>
{% endif %}
<br>
{% endfor %}


<input type="button" value="返回"class="upload-button "  onclick="javascript:location.href=' /OnlineExam/Exam'" />
</div>
{% endblock %}
{% block other_script %}
{% endblock %}
